package goodroommate.dao;

import java.util.ArrayList;

import goodroommate.dal.DatabaseSession;
import goodroommate.domain.University;
import goodroommate.domain.UniversityDetail;
import goodroommate.exception.DatabaseException;

public interface IUniversityDao {

	public boolean addUniversityDetail(UniversityDetail universitydetail,DatabaseSession dbs)throws DatabaseException;
	
	public UniversityDetail getUniversityDetailById(long universityid,DatabaseSession dbs)throws DatabaseException;
	
	public boolean updateUniversityDetail(UniversityDetail universitydetail,DatabaseSession dbs)throws DatabaseException;

	public ArrayList<UniversityDetail> getAllUniversityDetail(DatabaseSession dbs) throws DatabaseException;

	public University getUniversityById(long universityid, DatabaseSession dbs) throws DatabaseException;
}
